home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / tree / FixedHeightLayoutCache$SearchInfo.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  1.3 KB  |  22 lines

  1. package javax.swing.tree;
  2.  
  3. class FixedHeightLayoutCache$SearchInfo {
  4.    // $FF: synthetic field
  5.    private final FixedHeightLayoutCache this$0;
  6.    protected FixedHeightLayoutCache.FHTreeStateNode node;
  7.    protected boolean isNodeParentNode;
  8.    protected int childIndex;
  9.  
  10.    FixedHeightLayoutCache$SearchInfo(FixedHeightLayoutCache var1) {
  11.       this.this$0 = var1;
  12.    }
  13.  
  14.    protected TreePath getPath() {
  15.       if (this.node == null) {
  16.          return null;
  17.       } else {
  18.          return this.isNodeParentNode ? this.node.getTreePath().pathByAddingChild(this.this$0.treeModel.getChild(this.node.getUserObject(), this.childIndex)) : this.node.path;
  19.       }
  20.    }
  21. }
  22.